<?php

namespace Payment\Common\Sw\Data;


/**
 * Class BackRefundData
 *
 *
 * @package Payment\Common\Sw\Data
 *
 */
class BackRefundData extends SwBaseData
{

    public function getData()
    {
        $this->retData['package'] =[
            'refund_fee' => $this->refund_fee,//退款金额，单位分
            'end_time' => $this->end_time,//退款完成时间，yyyyMMddHHmmss，全局统一时间格式
            'out_refund_no' => $this->out_refund_no,//利楚唯一退款单号
        ];

        $this->retData['other'] = [
            'pay_type' => $this->pay_type,
            'merchant_name' => $this->merchant_name,
            'merchant_no' => $this->merchant_no,
            'terminal_id' => $this->terminal_id,
            'terminal_trace'=> $this->terminal_trace,
            'terminal_time' => $this->terminal_time,
            'out_trade_no' => $this->out_trade_no,
//            'refund_fee' => $this->refund_fee,//退款金额，单位分
        ];

        return parent::getData(); // TODO: Change the autogenerated stub
    }


    protected function buildData()
    {

    }

    protected function checkDataParam()
    {
        // 对于返回数据不做检查检查
    }
}
